package com.nandi.emergencyinspection.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.nandi.emergencyinspection.R

/**
 * @创建者: qingsong
 * @创建时间: 2021/3/25 16:15
 * @描述:
 */
class MessageListAdapter(data: MutableList<String>) :
    BaseQuickAdapter<String, BaseViewHolder>(R.layout.message_list_item, data),
    LoadMoreModule {
    override fun convert(holder: BaseViewHolder, item: String
    ) {
        holder.setText(R.id.message_time,item)

    }
}